package com.luo.partner.service;

import com.luo.common.base.BaseService;
import com.luo.common.utils.Query;
import com.luo.partner.dao.model.TabDomain;
import com.luo.partner.dao.model.TabDomainExample;

import java.util.List;
/**
* TabDomainService接口
* Created by laohu on 2018/9/18.
*/
public interface TabDomainService extends BaseService<TabDomain, TabDomainExample> {
TabDomain get(Long id);

List<TabDomain> list();

int save(TabDomain role);

int update(TabDomain role);

    int remove(Long id);

List<TabDomain> list(Long userId);

    int batchRemove(Long[] ids);

    int count(Query query);
}